import request from '@/utils/request'
const apiPrefix = '/ap/ant'
export class antennaManageApi{
  //天线管理信息获取
  static  reqPostAntennaInfo(){
    return request.post(`${apiPrefix}/manage_get`)
  }

  //天线通信配置
  static reqPostAntennaCommunication(data:any){
    return request.post(`${apiPrefix}/comm_set`,data)
  }

  // 天线参数配置
  static reqPostAntennaParam(data:any){
    return request.post(`${apiPrefix}/param_set`,data)
  }

  //设置天线
   static reqPostAntennaSet(data:any){
    return request.post(`${apiPrefix}/manage_set`,data)
   }

   //删除天线
   static reqPostAntennaDelete(data:any){
    return request.post(`${apiPrefix}/del`,data)
   }

   //天线在线信息获取
   static reqPostAntennaStatus(){
    return request.post(`${apiPrefix}/status_get`)
   }


   //故障状态获取
   static reqPostAntennaFaultStatus(){
    return request.post(`${apiPrefix}/fault_status`)
   }
}
